This section mainly on the advantages and disadvantages of JMeter and LoadRunner summary, if there are deficiencies, please correct me, greatly appreciated!At the same time, I also have to admit that in comparison with JMeter and LoadRunner, I personally do favor the JMeter
}",//body of the content ,// the length of the body content of the line aboveraw_body_end,// The identifier of the request body endlast);return 0;}Method for calculating the length of the body content:
Install the Firebug plugin in Firefox.
Open Firefox, then open the console
In the console, enter the body content, and then use the Length property to get the string, if for the above example, it is | | "{\" userids\ ": [1300000001,1300002029,1300003163],\" type\ ": 0}". length |
Selenium and QTP are functional automated tests, LoadRunner and JMeter are automated tests of performance
Selenium requires a higher code capacity, suitable for PYTHON,QTP general use of Vbs,loadrunner General C, but now also can be used in Java and other languages.
Now the most powerful tool for functional automation is QTP, but the trend of selenium is gr
Why use JMeter, it free open source, continuous development, function gradually strong. Can do function, load, performance test. A set of scripts can be used for both functional and performance testing. Jmeter has a large number of plug-in developers, supporting a variety of test protocols.first, Jmeter use Getting Started Tutorial (Quick Start)If you are familia
run the so-called agent, like LoadRunner, to get a larger number of concurrent users. Depending on the signature of the official JMeter document, you need to do this yourself, but don't worry, it will be very simple ^_^1. Install JMeter on all machines that expect to run JMeter as load generator, and make sure one of
When you are finished configuring the environment for JMeter to run, you can start installing JMeter. Why tell you to "install JMeter in a Linux system" and tell you to "install JMeter in a Windows system"? Because the steps to build 1 test plans are: (1) First, build 1 Test plans (2) within the Windows
is used in real time. Familiar with LoadRunner, we should know that the LoadRunner script is not only the core content of the real script in the action, but also the initialization script for initializing the "Environment" and the script block for clearing information after the test. Here, setup thread group and teardown thread group respectively refer to these two parts. In essence, they are no different.
set.Configuring components (Configuration elements)The configuration component is primarily used to maintain the configuration information required by the sampler, and modifies the requested content according to the actual need and set range (logical controller).Timers (Timers)By default, JMeter threads do not wait for each other to send requests, and we can control them with timers, and if there are multiple timers, the delay time is set by stacking
"LoadRunner Performance Test Training camp"Basic informationZhao Qiang Hu Weiwei NingjianyongSeries Name: CombatPublishing house: Mechanical Industry Pressisbn:9787111487005Last Date: 2015-1-7Publication date: January 2015Folio: 16 OpenEdition: 1-1
Editorial recommendationsThe Software Performance Test field has the breakthrough innovation significance the important work, three senior software testing expert
First, JMeter IntroductionApache JMeter is a 100% pure Java desktop application that is designed to test the client/server architecture of software (such as Web applications). It can be used to test static and dynamic resource performance such as: Static files, Java servlet,cgi Scripts,java Object, database and FTP server, etc. JMeter can be used to simulate a la
) testing tools, although compared with loadrunner have a lot of shortcomings, such as: It results analysis ability is not loadrunner detailed; it has many advantages:
Open source, he is an open source free software, use it you do not have to pay any fees,
Compact, compared to the size of LR (the newest LR11 will be nearly 4GB), it is very small and requires no installation, but requires a JDK
First, JMeter IntroductionApache JMeter is a 100% pure Java Desktop application that is designed to test the client/server architecture of software (such as Web applications). It can be used to test static and dynamic resource performance such as: Static files, Java servlet,cgi Scripts,java Object, database and FTP server, etc. JMeter can be used to simulate a la
first, the environment preparation1. Installing the JDK (Portal: http://www.oracle.com/technetwork/java/javase/downloads/ jdk8-downloads-2133151.html Select Jdk-8u101-windows-x64.exe), after the installation is complete, and configure the correct environment variables;2, download JMeter installation package (Portal: Http://mirrors.cnnic.cn/apache//jmeter/binaries/apache-
[Jmeter]jmeter script recording and playback, optimization (Jmeter under Windows) One, recording script:1. Start JMeter2. Add Thread Group3. Add HTTP Proxy4, configure the agentA, JMeter side (note: Lest plan content Here you need to select the target controller, this is the controller that needs to be selected in the
Using JMeter distributed performance testing as a pure JAVA GUI application, JMeter's CPU and memory consumption is staggering, so when you need to emulate thousands of concurrent users, Simulating all concurrent users with a single machine can be a bit of a problem, even causing a Java memory overflow error. However, JMeter can also share the pressure on the Load Generator itself by using multiple machin
First, the recording script:1. Start JMeter2. Add Thread Group3. Add HTTP Proxy4, configure the agentA, JMeter side (note: Lest plan content Here you need to select the target controller, this is the controller that needs to be selected in the test plan, this example needs to select "Test Plan > Thread Group")b, IE endControl Panel \ All Control Panel items \ Network and Sharing Center Internet Options Connection LAN settingsC, start the Script record
Illustration: LoadRunner stress test and loadrunner stress test
Software testing is required after the project coding stage ends. As an indispensable part of the software development process, automated testing will gradually replace complicated manual testing. Stress testing is an aspect of software testing's performance evaluation. The following describes some situations when I use
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.